package sys.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import sys.entity.Dto;
import sys.entity.Student;
import sys.entity.Teacher;

import java.util.List;
import java.util.Map;

@Mapper
public interface TeacherDao {


    List<Teacher> findTea();

    List<Teacher> findPages(Map serachMap);

    void add(Teacher teacher);

    List<Dto> findPageTea(Map serachMap);
}
